#include "select_button.h"

select_button::select_button()
{
    this->statue = BUTTON_LEAVE;
    this->setFixedSize(100,40);
    setFocusPolicy(Qt::NoFocus);
    this->setStyleSheet("QPushButton{color:#ffffff;background-color:#3d6be5;border-radius:4px;font-size:16px;}"
                                  "QPushButton:hover{background-color:#6b8eeb;}"
                                  "QPushButton:pressed{background-color:#415fc4;}");
}

select_button::~select_button()
{
    delete this;
}

void select_button::set_btn_name(QString btn_name)
{
    this->setText(btn_name);
}
